<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
    let [a,b,c]=[12,5,8];
    let {d,e,f}={d:1,e:2,f:3};
    //错误写法，两边需要一样，右边需要是个东西
    //let {g,h,i}={8,9,10};
    console.log(a,b,c);
    console.log(d,e,f);
    </script>
</body>
</html>